package User;

public class userbook {
    public String bookName;
    public int price;
    public int sum;
    public int[]bookshelf_BookNum;
    public int[]getBookshelfNum;
    public int idbookshelf;

    public userbook(String bookName, int price, int sum) {
        this.bookName = bookName;
        this.price = price;
        this.sum = sum;
    }

    public userbook(String bookName, int price, int sum, int[] bookshelf_BookNum, int[] getBookshelfNum, int idbookshelf) {
        this.bookName = bookName;
        this.price = price;
        this.sum = sum;
        this.bookshelf_BookNum = bookshelf_BookNum;
        this.getBookshelfNum = getBookshelfNum;
        this.idbookshelf = idbookshelf;
    }
    



    @Override
    public String toString() {
        return "userbook{" +
                "bookName='" + bookName + '\'' +
                ", price=" + price +
                ", sum=" + sum +
                '}';
    }

}
